package com.egoo.ticket.server.dao;

import com.egoo.ticket.server.pojo.vo.WorkOrderExportVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * @author Administrator
 */
@Repository
public interface WorkOrderExcelDao {
	/**
	 * 根据工单id集合关联work_order工单表与work_order_status工单状态表获取导出信息
	 * @param workOrderIdList
	 * @return
	 */

	List<WorkOrderExportVo> selectByIdList(@Param(value = "list") List<String> workOrderIdList);


	List<LinkedHashMap<String,Object>> selectByIdListDynamic(@Param(value = "sql") String sql);

}
